package com.elric.mall.mapper;

import com.elric.mall.dto.FileAntdDto;
import com.elric.mall.model.UmsFileRelation;
import com.elric.mall.model.UmsFileRelationExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UmsFileRelationMapper {
    long countByExample(UmsFileRelationExample example);

    int deleteByExample(UmsFileRelationExample example);

    int deleteByPrimaryKey(String id);

    int insert(UmsFileRelation record);

    int insertBatch(List<UmsFileRelation> records);

    int insertSelective(UmsFileRelation record);

    List<UmsFileRelation> selectByExample(UmsFileRelationExample example);

    UmsFileRelation selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UmsFileRelation record, @Param("example") UmsFileRelationExample example);

    int updateByExample(@Param("record") UmsFileRelation record, @Param("example") UmsFileRelationExample example);

    int updateByPrimaryKeySelective(UmsFileRelation record);

    int updateByPrimaryKey(UmsFileRelation record);

    List<FileAntdDto> selectByRelationKey(String id);
}